import java.util.Scanner;

public class Test6 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入用户名：");
        String name = sc.next();
        System.out.println("请输入密码：");
        String pwd = sc.next();
        if (name.equals("admin") && pwd.equals("briup")) {
            System.out.println("登录成功！");
        } else {
            System.out.println("登录失败，用户名或密码错误");
        }

    }
}
